import request from '@/utils/request'

/**
 * @description: 派工信息
 */
export function dispatch(params) {
  return request({
    url: '/dispatch',
    params
  })
}

export function dispatchMachine(params) {
  return request({
    url: '/dispatchMachine',
    params
  })
}

// 派工机台
export function dispatchMachine2(params) {
  return request({
    url: '/dispatchMachine2',
    params
  })
}

export function dispatchMachineAdd(params) {
  return request({
    url: '/dispatchMachineAdd',
    params
  })
}
export function dispatchMachineEdit(params) {
  return request({
    url: '/dispatchMachineEdit',
    params
  })
}
//派工看板
export function sendWorkerNoticeboard(params) {
  return request({
    url: '/sendWorkerNoticeboard',
    params
  })
}

//派工看板2
export function sendWorkerNoticeboard2(params) {
  return request({
    url: '/sendWorkerNoticeboard2',
    params
  })
}
